home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2007 September / PCWSEP07.iso / Software / Linux / Linux Mint 3.0 Light / LinuxMint-3.0-Light.iso / casper / filesystem.squashfs / var / lib / dpkg / info / desktop-effects.postinst < prev    next >
Encoding:
Text File  |  2007-04-02  |  738 b   |  21 lines

  1. #!/bin/sh
  2. # postinst script for desktop-effects
  3.  
  4. set -e
  5.  
  6. # Automatically added by dh_desktop
  7. if [ "$1" = "configure" ] && which update-desktop-database >/dev/null 2>&1 ; then
  8.     update-desktop-database -q
  9. fi
  10. # End automatically added section
  11. # Automatically added by dh_iconcache
  12. touch -m /usr/share/icons/hicolor
  13. if [ "$1" = configure ] && \
  14.    [ -x "`which gtk-update-icon-cache 2>/dev/null`" ] && \
  15.    [ -f /etc/gtk-2.0/gdk-pixbuf.loaders ] && \
  16.    [ "`find /usr/share/icons/hicolor -mindepth 1 -maxdepth 1 -type d | wc -l`" -gt 0 ] && \
  17.    [ "`find /usr/share/icons/hicolor -mindepth 1 -maxdepth 1 -type f -name index.theme | wc -l`" -eq 1 ]; then
  18.     gtk-update-icon-cache -q /usr/share/icons/hicolor
  19. fi
  20. # End automatically added section
  21.